package com.neusoft.my12306.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neusoft.my12306.common.res.CommonResult;
import com.neusoft.my12306.entity.User;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 葛彬
 * @since 2023-07-15
 */
public interface IUserService extends IService<User> {

    CommonResult register(User user);

    CommonResult<String> sendPhoneMessage(User user);

    CommonResult login(User user);

    CommonResult queryPassenger(List<Integer> passids);

    CommonResult pay(String name, Double money);

    CommonResult queryMyInfo(User user);
}
